home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / games / IndiZone / blix / servermake < prev    next >
Encoding:
Text File  |  1994-08-02  |  1.2 KB  |  48 lines

  1. #!smake
  2.  
  3. # This is the makefile for the Blix world wide highscore server !
  4. # You won't be needing this, because blix wants only one world wide
  5. # server in action. (that's what makes it world wide :-)
  6. # it does not install itself!
  7. #
  8. # type make -f servermake
  9. #
  10. # (c) 1994 Frans van Hoesel (hoesel@chem.rug.nl)
  11. #         Xtreme Graphics Software
  12.  
  13. include $(ROOT)/usr/include/make/commondefs
  14. include $(ROOT)/usr/include/make/releasedefs
  15.  
  16. OPTIMIZER = -O2
  17.  
  18. CFILES    = blixscore_io.c blixserver.c
  19. TARGETS = blixserver
  20.  
  21. MAJORRELEASE = $(RELEASE:M[0-4]*)
  22.  
  23. #if ( $(MAJORRELEASE) == ""  )
  24. # these three lines are for 5.x systems
  25. LCDEFS = -DFUNCPROTO -DDATADIR=$(DATADIR) -DUNCOMPRESS=$(UNCOMPRESS)
  26. LCOPTS = -I. -float -fullwarn -woff 581,613,835
  27. LLDLIBS = -lmalloc
  28.  
  29. #else
  30. # these are for 4.0.5 systems (blix is not tested on anything before that)
  31. LCDEFS = -DFUNCPROTO -DDATADIR=$(DATADIR) -DUNCOMPRESS=$(UNCOMPRESS) -DOLD_STYLE_INVENT
  32. LCOPTS = -I. -float -fullwarn -woff 287,269,151,24
  33. LLDLIBS = -lmalloc -lc_s 
  34.  
  35. #endif
  36.  
  37. CFLAGS = $(VCFLAGS) $(LCFLAGS) $(GCFLAGS)
  38.  
  39.  
  40. default all: blixserver
  41.  
  42. include $(COMMONRULES)
  43.  
  44. blixserver:    $(OBJECTS)
  45.     $(CCF) $(OBJECTS) $(LDFLAGS) -o blixserver
  46.     
  47. # DO NOT DELETE THIS LINE -- make depend depends on it.
  48.